---@class SkillEffect92012101:BaseSkillEffect
SkillEffect92012101 = ClientFight.CreateClass("SkillEffect92012101",ClientFight.BaseSkillEffect)
local t = SkillEffect92012101

---@param skill FightUsingSkill
function t:triggerSkillsScript(skill)
    local skillBean = triggerSkill.skill.skillBean;
    local disConf = skillBean.f_SkillScriptParameter[1];
    local fighter = triggerSkill.fighter;
    local leftOrRight;
    if (target ~= nil)then
    leftOrRight = FighterUtils.leftOrRight(fighter, target);
     elseif (parentSkill.target ~= nil) then
    leftOrRight = FighterUtils.leftOrRight(fighter, parentSkill.target);
    else 
    leftOrRight = FighterUtils.getCurrDirection(fighter);
    end
    local targetX = fighter.position.x + Utils.toRatio(disConf) * leftOrRight;
    local vector2 = new Vector2(targetX, fighter.position.y);
    FighterManager.checkOut(vector2, null, Global.FIGHT_INNER_ROUND, false, false);
    triggerSkill.targetPosition = vector2;
    triggerSkill.originalTargetPlacePosition = vector2;
    return ClientFight.BaseSkillEffect.triggerSkill(parentSkill,target,triggerSkill);
end

t.New()